﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Permission
{
    /// <summary>
    /// 角色授权
    /// </summary>
    public class RoleAuthorityEntity
    {
        private int _roleauthorityid;
        private int _roleid;
        private int _moduleid;
        private string _authoritytag;
        /// <summary>
        /// 角色权限ID
        /// </summary>
        public int RoleAuthorityID
        {
            set { _roleauthorityid = value; }
            get { return _roleauthorityid; }
        }
        /// <summary>
        /// 角色ID(关联Role表中的RoleID)
        /// </summary>
        public int RoleID
        {
            set { _roleid = value; }
            get { return _roleid; }
        }
        /// <summary>
        /// 模块ID(关联Module表主键)
        /// </summary>
        public int ModuleID
        {
            set { _moduleid = value; }
            get { return _moduleid; }
        }
        /// <summary>
        /// 权限标识(关联AuthorityTag表中的Tag)
        /// </summary>
        public string AuthorityTag
        {
            set { _authoritytag = value; }
            get { return _authoritytag; }
        }
    }
}
